<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="http://localhost:8080/" />
<title>UC01CadastrarEmpresa</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">UC01CadastrarEmpresa</td></tr>
</thead><tbody>
<tr>
	<td>open</td>
	<td>/sce-web-ref2/visao/index.jsp</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=campo</td>
	<td>usuario1</td>
</tr>
<tr>
	<td>type</td>
	<td>name=txtSenha</td>
	<td>2222</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>id=botao</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>name=btnEmpresa</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>id=botao</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=campo</td>
	<td>empresa x</td>
</tr>
<tr>
	<td>type</td>
	<td>name=txtCNPJ</td>
	<td>89424232000180</td>
</tr>
<tr>
	<td>type</td>
	<td>name=txtNomeFantasia</td>
	<td>empresa x</td>
</tr>
<tr>
	<td>type</td>
	<td>name=txtEndereco</td>
	<td>av. aguia de haia 232</td>
</tr>
<tr>
	<td>type</td>
	<td>name=txtTelefone</td>
	<td>121212</td>
</tr>
<tr>
	<td>type</td>
	<td>name=txtResponsavel</td>
	<td>jose da silva</td>
</tr>
<tr>
	<td>type</td>
	<td>name=txtTelefoneResponsavel</td>
	<td>121212</td>
</tr>
<tr>
	<td>type</td>
	<td>name=txtSetor</td>
	<td>contabilidade</td>
</tr>
<tr>
	<td>type</td>
	<td>name=txtEmail</td>
	<td>jose@gmail.com</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>id=botao</td>
	<td></td>
</tr>
<tr>
	<td>assertText</td>
	<td>css=form[name=&quot;formEmpresaIncluir&quot;] &gt; label</td>
	<td>Cadastro realizado com sucesso</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>name=btnVoltar</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>name=btnVoltar</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>name=btnExcluir</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>name=txtCNPJ</td>
	<td>89424232000180</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>id=botao</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>id=botao</td>
	<td></td>
</tr>
<tr>
	<td>assertText</td>
	<td>css=form[name=&quot;formEmpresaExcluir&quot;] &gt; label</td>
	<td>Registro excluido com sucesso</td>
</tr>

</tbody></table>
</body>
</html>
